﻿using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NTQOnlineExam.Services.EntityFW.Entity
{
  public class BasketItem
  {
    public Guid Id { get; set; }
    public Guid BasketId { get; set; }
    public int TermId { get; set; }
    public string TermName { get; set; }
    public decimal Price { get; set; }
    public string Comment { get; set; }
  }

  
  public class BasketItemMap : EntityTypeConfiguration<BasketItem>
  {
    public BasketItemMap()
    {
      this.HasKey(t => t.Id);
      this.ToTable("BasketItem");
    }
  }
}


